Repository navigation
ci: add review-gate, OpenSSF Scorecard and Dependabot cooldown - #4
Conversation
…tance Changes: - review-gate.yml (waits for the CodeRabbit and cubic check runs on the head commit; fails if cubic did not complete or CodeRabbit was off or errored; warns when CodeRabbit is rate limited or skips a later push after a finished review) and scorecard.yml (OpenSSF Scorecard, weekly, SARIF upload); permissions are least-privilege and every action is pinned to a full commit SHA, same files as machine-made/pi-effort Co-authored-by: Ricardo Frantz <4220623+ricardofrantz@users.noreply.github.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
All reported issues were addressed across 2 files
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
… requires success for Finished Commit listing follows pagination; the last poll no longer sleeps; a Finished title needs a success conclusion and stale is rejected; gh errors reach the log. Co-authored-by: Ricardo Frantz <4220623+ricardofrantz@users.noreply.github.com>
gh api prints the HTTP error body to stdout, so the fallback value was appended to it and the count test could pass; the value is now replaced on failure. Co-authored-by: Ricardo Frantz <4220623+ricardofrantz@users.noreply.github.com>
…effort 479a885) Commit listing paginated, gh error bodies no longer pass the review count, Finished needs success, CodeRabbit lookup filtered by check name, documented skip titles accepted, re-run hint, 15 min Scorecard timeout. Co-authored-by: Ricardo Frantz <4220623+ricardofrantz@users.noreply.github.com>
A failed commit listing gets its own error, a PR-scoped concurrency group cancels superseded gate runs, the historical lookup reads all check attempts, the failure message asks for a full review, and a manual Scorecard run on a non-default branch is skipped. Co-authored-by: Ricardo Frantz <4220623+ricardofrantz@users.noreply.github.com>
There was a problem hiding this comment.
1 issue found across 2 files (changes from recent commits).
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name=".github/workflows/review-gate.yml">
<violation number="1" location=".github/workflows/review-gate.yml:52">
P3: This request reads only one page of 100 runs, so it can miss a successful `Finished` check after enough retries and reject the skip. Paginate the lookup before counting.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
Changes:
Summary by CodeRabbit